﻿using Code_Group3.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

namespace Code_Group3.BUS
{
    public class AccountBUS
    {
        public static Account db = new Account();
        public static bool CheckWithdrawCard(string AccountID, float amount)
        {
            return db.CheckWithdrawCard(AccountID, amount);
        }
        public static void Withdraw(string AccountID, float amount)
        {
            db.Withdraw(AccountID, amount);
        }
        public DataTable GetAcc(Data.Card obj)
        {
            return db.GetAcc(obj);
        }
    }
}